package com.xixibaby.core.mybatis;

import com.baomidou.mybatisplus.core.metadata.TableInfo;

/**
 * @author : tomj
 * @Date: 2019-02-25 14:45
 * @Description:
 */
public class LeftJoin extends JoinMethod {
    public LeftJoin(){
        super(SqlMethod.LEFT_JOIN);
    }

    @Override
    public String joinSql(TableInfo tableInfo, SqlMethod sqlMethod) {
        return sqlMethod.getDesc();
    }

    @Override
    protected String[] targetSelectColumns() {
        return new String[]{"{3}"};
    }
}
